size(500,500);
background(255,255,0);
for (int x=0; x<500; x=x+1) {
  stroke(x);
  line(x,0,x,500);
  println(x);
}

